﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
namespace DAO
{
    public class CHITIETHOCSINHDAO
    {
        QUANLY_DIEMDataContext DB = new QUANLY_DIEMDataContext();
         public int lay_malop(int mahs)
        {

            int malop = (from p in DB.CHITIETHOCSINHs where p.MAHS == mahs select p.MALOP).Single();
            return malop;
        }

    }
}
